import cookie from '../utils/cookie';
const setToken = (token: string): void => {
  cookie.set('token', token);
};

const getToken = (): string | undefined => {
  return cookie.get('token');
};

const removeToken = (): void => {
  cookie.remove('token');
};

export { setToken, getToken, removeToken };
